package language;

/**
 * This is German language action
 */
import gui.Frame;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

@SuppressWarnings("serial")
public class Spanish extends AbstractAction
{
   private Frame frame;

   public Spanish(Frame frame)
   {
      super("Spanish");
      this.frame = frame;
   }

   @Override
   public void actionPerformed(ActionEvent e)
   {
      new LanguageLoader("sp", "SP");
      frame.setLanguage();
      // TODO Auto-generated method stub

   }

}
